package org.ww.authserver.feign;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.ww.common.utils.R;

/**
 * @program: gmall
 * @description: sms feign
 * @author: ww
 * @create: 2024-05-08 15:11
 **/

@FeignClient("gmall-third-party")
public interface SmsFeiginClient {

    @GetMapping("/sms/sendcode")
    R SendCode(@RequestParam("phone") String phone, @RequestParam("code") String code);

}
